//This file includes all the necessary macros not defined in easy butterfly

//turn ON the Led in the front of LDRs
#define led_ON	PORTB = PORTB | 0b00000001
//turn OFF the Led in the front of LDRs
#define led_OFF	PORTB = PORTB & 0b11111110
//turn ON the alarm light
#define alarm_light_ON	PORTB = PORTB | 0b00000100
//turn OFF the alarm light
#define alarm_light_OFF	PORTB = PORTB & 0b11111011
//turn ON the lights
#define light_ON		PORTB = PORTB | 0b00001000
//turn OFF the lights
#define light_OFF		PORTB = PORTB & 0b11110111

//defining the joystick buttons
#define btn_center !(PINB & (1<<4))
#define btn_up !(PINB & (1<<6))
#define btn_down !(PINB & (1<<7))
#define btn_left !(PINE & (1<<2))
#define btn_right !(PINE & (1<<3))

